/* Product Details Page Specific Styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-color);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-content a:hover {
    text-decoration: underline;
}

.breadcrumb-content span {
    color: #666;
}

/* Product Details Section */
.product-details-section {
    padding: 60px 0;
    background: var(--white-color);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Image Container */
.product-image-container {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Container */
.product-info-container {
    padding: 20px 0;
}

.product-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-title {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.product-short-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 160px;
}

/* Quick Info */
.quick-info {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.info-value {
    color: #666;
}

/* Product Tabs Section */
.product-tabs-section {
    padding: 80px 0;
    background: var(--light-color);
}

.tabs-container {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tabs-nav {
    display: flex;
    background: var(--light-color);
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(40, 167, 69, 0.05);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--white-color);
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

.content-wrapper h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.content-wrapper p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Benefits and Features Lists */
.benefits-list,
.features-list {
    list-style: none;
    padding: 0;
}

.benefits-list li,
.features-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: #666;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.benefits-list li:before,
.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.benefits-list li:last-child,
.features-list li:last-child {
    border-bottom: none;
}

/* Specifications Table */
.specifications-table {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.spec-value {
    color: #666;
    text-align: right;
}

/* Related Products Section */
.related-products-section {
    padding: 80px 0;
    background: var(--white-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-product-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.related-product-image {
    height: 200px;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-info {
    padding: 25px;
    text-align: center;
}

.related-product-info h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.related-product-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-image-container {
        position: static;
        order: -1;
    }
    
    .main-image {
        height: 400px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 auto;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .product-details-section {
        padding: 40px 0;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .main-image {
        height: 300px;
        border-radius: 10px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    .tab-content {
        padding: 30px 20px;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-short-description {
        font-size: 1rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .product-category-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .content-wrapper h3 {
        font-size: 1.3rem;
    }
    
    .breadcrumb-content {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #444;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 9999;
    font-size: 14px;
}

.notification-success {
    background-color: #28a745;
}

.notification-error {
    background-color: #dc3545;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}